<template>
  <!-- 城市头部 -->
  <div class="city-header relative">
    <i class="iconfont iconfanhuijiantou back-icon absolute left-0" @click="goBack()"></i>
    城市选择
  </div>
</template>

<script>
export default {
  name: 'CityHeader',
  methods: {
    goBack() {
      this.$router.go(-1)
    },
  },
}
</script>

<style lang="scss" scoped>
.city-header {
  height: 0.43rem;
  line-height: 0.43rem;
  text-align: center;
  color: #000;
  font-size: 0.16rem;
  .back-icon {
    width: 0.32rem;
    text-align: center;
    font-size: 0.18rem;
  }
}
</style>
